package com.huihuiyun.huihuiyun.server.repository;

import com.huihuiyun.huihuiyun.server.domain.HhyTemplate;
import org.springframework.data.jpa.repository.JpaRepository;

public interface HhyTemplateRepository extends JpaRepository<HhyTemplate, String> {
    HhyTemplate findHhyTemplateByLoginNameAndPassword(String loginName, String password);

    HhyTemplate findHhyTemplateByPhoneAndPassword(String phone, String password);
}
